Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications
format-datetime
This function returns a date and time string formatted according to Internet standards.
Location:web\method\cgiutils.iParameters:INPUT p_format AS CHARACTERThe type of format to apply. The valid values are:
INPUT p_date AS DATEThe date to format.
INPUT p_time AS INTEGERThe time expressed as seconds since midnight.
INPUT p_options AS CHARACTERSpecifies how to process the date and time. Valid values are:
- Local
— The date and time are local values. The function converts them to UTC values before formatting them.Returns: CHARACTER Notes: None Examples: See the- UTC — The date and time are already in UTC time. The function normalizes them to ensure the value of time is between zero and the number of seconds in one day.
set-cookiefunction inweb\method\cookies.i.See also:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |